<c:if test="${(isError != 'error' && param.action == 'add')
              || param.action == 'update' || param.action == 'edit'}">
    <input type="hidden" name ="action" value="update">
    <c:set var="mStatus" value="1"/>
</c:if>
<c:if test="${param.action == 'create'
              || (isError == 'error' && param.action == 'add')}">
    <input type="hidden" name ="action" value="add">
</c:if>
<c:if test="${param.action == 'add' || param.action == 'update' || param.action=='delete'}">
   <input type="hidden" name ="init" value="no">
</c:if>
<c:if test="${param.action == 'create' || param.action == 'edit'}">
    <input type="hidden" name ="init" value="yes">
</c:if>